export const showErrMsg = (titile, duration, iconFlag) => {
	const defaultTitle = "数据加载失败！";
	const defaultDuration = 1500;
	const defaultIconFlag = "none";
	uni.showToast({
		title: titile || defaultTitle,
		duration: duration || defaultDuration,
		icon: iconFlag || defaultIconFlag
	})
};


export const showJumpTips = (num) => {
	uni.showToast({
		icon: 'none',
		title: '请登录后再结算！' + num + '秒后自动跳转到登录页',
		mask: true,	//为页面添加透明遮罩，防止点击穿透
		duration: 1500
	})
};